package formulaire;

import android.app.Activity;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import com.example.MyLittleHotel.R;

/**
 * Created by Florent Pupin on 21/05/14.
 */
public class ajoutAbsence extends Activity {
    protected LinearLayout fullLayout;
    protected FrameLayout navContent;
    @Override
    public void setContentView(final int layoutResID) {
        fullLayout= (LinearLayout) getLayoutInflater().inflate(R.layout.main, null); // Your base layout here
        navContent= (FrameLayout) fullLayout.findViewById(R.layout.formabsence);
        getLayoutInflater().inflate(layoutResID, navContent, true); // Setting the content of layout your provided in the nav_content frame
        setContentView(fullLayout);
        // here you can get your navigation buttons and define how they should behave and what must they do, so you won't be needing to repeat it in every activity class
    }
}